﻿@model SuperJ.CMS.ViewModels.AdminViewModel
@{
    Layout = null;
}
<div id="pageTitle" style="display:none;">添加管理员</div>

@using (Ajax.BeginForm(new AjaxOptions
{
    HttpMethod = "post",


    UpdateTargetId = ViewBag.PanelId,
    InsertionMode = InsertionMode.Replace,
    LoadingElementId = "procing",
}))
{
        @Html.ValidationSummary(true)
    <fieldset>
        <legend><a href="javascript:void(0)" onclick="javascript:$(this).parent().next().toggle();">帮助</a></legend>
        <ul style="display:none;">
            <li>1</li>
            <li>2</li>
            <li>3</li>
        </ul>
    </fieldset>
    <fieldset>
        <legend>表单填写</legend>
        <div class="editor">
        
            @Html.LabelFor(model => model.AdminName, "管理员帐号")
            @*Html.DropDownListFor(m => m.TitleColor, (SelectList)ViewData["TitleColor"]);*@
            
            @Html.EditorFor(model => model.AdminName)
            @*Html.ValidationMessageFor(model => model.TitleColor)*@
            @Html.ValidationMessageFor(model => model.AdminName)
          
        </div>
        <p>
            <input class="formSubmit" type="submit" value="确定" /> <input class="formCancel" type="reset" name="reset" value="取消" />
        </p>
    </fieldset>    
    
}